package com.tudouji.project.mt.domain;

import java.math.BigDecimal;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 美团菜品消耗单物料明细对象 mt_foodconsumgoodsitem
 * 
 * @author tudouji
 * @date 2023-11-21
 */
@Data
public class MtFoodconsumgoodsitem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 菜品消耗明细表Id */
    @Excel(name = "菜品消耗明细表Id")
    private Long mtFoodconsumitemid;

    /** 菜品SkuId */
    @Excel(name = "菜品SkuId")
    private Long foodskuid;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String foodname;

    /** 菜品规格 */
    @Excel(name = "菜品规格")
    private String foodspec;

    /** 美团仓库code */
    @Excel(name = "美团仓库code")
    private String mtWhCode;

    /** 美团物品code */
    @Excel(name = "美团物品code")
    private String mtGoodsCode;

    /** 美团物品名称 */
    @Excel(name = "美团物品名称")
    private String mtGoodsName;

    /** 基准单位Id */
    @Excel(name = "基准单位Id")
    private String baseunitId;

    /** 基准单位名称 */
    @Excel(name = "基准单位名称")
    private String baseunitName;

    /** 消耗数量 */
    @Excel(name = "消耗数量")
    private BigDecimal consumptionamount;
    //每一份菜品消耗的数量,及成本卡消耗数量，= consumptionamount / 菜品数量
    private BigDecimal consumptionamountInCostcard;

    /** 已出库数量 */
    @Excel(name = "已出库数量")
    private String outamount;

    /** 业务单位数量 */
    @Excel(name = "业务单位数量")
    private String bizunitconsamount;

    /** 业务单位已出库数量 */
    @Excel(name = "业务单位已出库数量")
    private String bizunitoutamount;

    /** 业务单位未出库数量 */
    @Excel(name = "业务单位未出库数量")
    private String bizunitnotoutamount;

    /** 库存单位换算率 */
    @Excel(name = "库存单位换算率")
    private String conversionratedesc;

    /** 辅助单位消耗数量 */
    @Excel(name = "辅助单位消耗数量")
    private BigDecimal suppunitconsamount;

    /** 辅助单位出库数量 */
    @Excel(name = "辅助单位出库数量")
    private BigDecimal suppunitoutamount;

    /** 辅助单位未出库数量 */
    @Excel(name = "辅助单位未出库数量")
    private BigDecimal suppunitnotoutamount;

    /** ERP系统库房id */
    @Excel(name = "ERP系统库房id")
    private String storeroomguid;

    /** erp库房名称 */
    @Excel(name = "erp库房名称")
    private String storeroomname;

    /** ERP系统库间Id */
    @Excel(name = "ERP系统库间Id")
    private String storehouseguid;

    /** ERP库间名称 */
    @Excel(name = "ERP库间名称")
    private String storehousename;

    /** ERP产品guid	菜品对应的 */
    @Excel(name = "ERP产品guid	菜品对应的")
    private String productguid;

    /** ERP产品名称	菜品对应的 */
    @Excel(name = "ERP产品名称	菜品对应的")
    private String productname;

    /** ERP系统物料guid	菜品对应的 */
    @Excel(name = "ERP系统物料guid	菜品对应的")
    private String spguid;

    /** ERP物料名称	菜品对应的 */
    @Excel(name = "ERP物料名称	菜品对应的")
    private String spname;

    /** ERP库存单位数量	转换为erp库存单位 */
    @Excel(name = "ERP库存单位数量	转换为erp库存单位")
    private BigDecimal erpWeight;

    /** erp库存单位id */
    @Excel(name = "erp库存单位id")
    private Long stockunitid;

    /** erp库存单位名称 */
    @Excel(name = "erp库存单位名称")
    private String stockunitname;

    /** ERP系统库存单价 */
    @Excel(name = "ERP系统库存单价")
    private BigDecimal erpPrice;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    private Long orgId;
    private String orgName;
    private String departmentguid;
}
